package cn.earas.htmlX.model;

public class Setting {
    private int userAgentIndex = 0;

    private String userAgent = "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36";

    private String cookie = "";

    private boolean enableProxy = false;

    private String ip = "";

    private String portStr = "";

    private int proxyIndex = 0;

    private int charsetIndex = 0;

    private String outTimeStr = "10000";

    private boolean doJs = false;

    public int getUserAgentIndex() {
        return userAgentIndex;
    }

    public void setUserAgentIndex(int userAgentIndex) {
        this.userAgentIndex = userAgentIndex;
    }

    public String getUserAgent() {
        return userAgent;
    }

    public void setUserAgent(String userAgent) {
        this.userAgent = userAgent;
    }

    public String getCookie() {
        return cookie;
    }

    public void setCookie(String cookie) {
        this.cookie = cookie;
    }

    public boolean isEnableProxy() {
        return enableProxy;
    }

    public void setEnableProxy(boolean enableProxy) {
        this.enableProxy = enableProxy;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getPortStr() {
        return portStr;
    }

    public void setPortStr(String portStr) {
        this.portStr = portStr;
    }

    public int getProxyIndex() {
        return proxyIndex;
    }

    public void setProxyIndex(int proxyIndex) {
        this.proxyIndex = proxyIndex;
    }

    public int getCharsetIndex() {
        return charsetIndex;
    }

    public void setCharsetIndex(int charsetIndex) {
        this.charsetIndex = charsetIndex;
    }

    public String getOutTimeStr() {
        return outTimeStr;
    }

    public void setOutTimeStr(String outTimeStr) {
        this.outTimeStr = outTimeStr;
    }

    public boolean isDoJs() {
        return doJs;
    }

    public void setDoJs(boolean doJs) {
        this.doJs = doJs;
    }
}
